package com.junzhiit.nengji.shop.bo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class CommissionHistoryBO extends BaseObject{

	private static final long serialVersionUID = 1L;

	private String id;
	
	private String incomeUserId;
	
	private Double commissionMoney;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date createdTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIncomeUserId() {
		return incomeUserId;
	}

	public void setIncomeUserId(String incomeUserId) {
		this.incomeUserId = incomeUserId;
	}

	public Double getCommissionMoney() {
		return commissionMoney;
	}

	public void setCommissionMoney(Double commissionMoney) {
		this.commissionMoney = commissionMoney;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

}
